﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PluginDetailLog.aspx.cs" Inherits="status_PluginDetailLog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
     <h2>插件运行详细日志</h2>
    <div>
        <asp:Repeater ID="rptPluginLogs" runat="server" EnableViewState="false">
        <HeaderTemplate>
            <table border="1" cellpadding="0" cellspacing="0" width="100%" id="AutoNumber1">
                <tr>
                    <th>
                        编号
                    </th>
                    <th>
                        事件类型
                    </th>
                    <th>
                        日志描述
                    </th>

                    <th>
                        日期
                    </th>
                    
                   
        </HeaderTemplate>
        <ItemTemplate>
        <tr style=" ">
          <td>
              <%# Container.ItemIndex + 1%>
                    </td>
                    <td>
                     <%# GetEventType(Eval("event_type"))%> 
                    </td>
                    <td>
                      <%# Eval("reason") %>
                    </td>
                   
                    <td>
                        <%# (new DateTime(Convert.ToInt64(Eval("create_time")))).ToString() %>
                    </td>
                    </tr>
                    </ItemTemplate>
                    </asp:Repeater>
                    </div>
                    
    </form>
</body>
</html>
